import request from "@/utils/request";

export const homeApi = {
  //首页轮播图
  homebanner: (params) => request.get("/dev_banner/index", params),
  //首页 论团列表
  forumlist:(params) => request.get("/dev_forum/indexList", params),
  //标签列表 
  tagList: (params) => request.get("/dev_tag/index", params),
  //显示 隐藏标签   
  saveTag:(params) => request.post("/dev_tag/saveTag", params),
  //论坛详情 
  forumDetail: (params) => request.get("/dev_forum/detail", params),
  //评论列表 
  commentList: (params) => request.get("/dev_comment/index", params),
  //二级列表评论 
  commentSon : (params) => request.get("/dev_comment/sonIndex", params),
  //发表评论 http://app.antiraedi.com/api/dev_comment/add
  commentAdd:(params) => request.post("/dev_comment/add", params),
  
  //商家详情http://app.antiraedi.com/api/dev_shop/info?id=1&lat=119.11397&lon=30.54938
  shopInfo : (params) => request.get("/dev_shop/info", params),
  //商家列表 http://app.antiraedi.com/api/dev_shop/list?lat=119.11397&lon=30.54938&num=10&page=1&keywords=
  shopList:(params) => request.get("/dev_shop/list", params),





  
}